import {Link} from 'umi';
import styles from './index.less';

export default function IndexPage(props) {
  console.log('首页', props);
  return (
    <div>
      <h1 className={styles.title}>Page index</h1>
      <Link to="/login">登录</Link>
      <hr/>
      <div>{props.children}</div>
    </div>
  );
}
